<?php 

namespace app\common\validate\ywUser;

use think\Validate;

class UserDeposit extends Validate 
{ 
    protected $rule = [
        'uid' => 'require',
        'price' => 'require',
        'remark' => 'require',
    ];

    protected $message = [
        'uid.require' => '请输入用户ID',
        'price.require' => '请输入押金金额',
        'remark.require' => '请输入备注',
    ];

    protected $scene = [
        'edit' => ['uid','price','remark','admin_name','examine_admin_name','is_back','back_admin_name','id'],
        'add' => ['uid','price','remark','admin_name','examine_admin_name','is_back','back_admin_name'],
    ];

} 
